package com.juzhi.dvrapp.activity;

import android.content.Intent;
import android.view.View;

import com.juzhi.dvrapp.R;

import butterknife.OnClick;

public class DeviceAddActivity extends BaseAcitivity {


    @Override
    public int getLayoutId() {
        return R.layout.activity_device_add;
    }

    @Override
    protected void initView() {
        initHeaderView();
        hideFunction();
        setTitleText(getResources().getString(R.string.activity_add_title_srt));

    }


    @OnClick({R.id.activity_add_local_device_ll, R.id.activity_add_remote_device_ll})
    public void onViewClicked(View view) {
        Intent intent = new Intent();
        switch (view.getId()) {
            case R.id.activity_add_local_device_ll:
                break;
            case R.id.activity_add_remote_device_ll:
                intent.setClass(this,DeviceAddRemoteActivity.class);
                startActivity(intent);
                finish();
                break;
        }
    }
}
